﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                   assembly="DataStore"
                   namespace="DataStore.Domain">
  <class name="Cover" table="Cover">
    <id name="Id" column="CoverId" type="Guid">
      <generator class="guid" />
    </id>
    <property name="Type" />
    <property name="Size" />
    <property name="IsDefault" />
    <many-to-one name="Path" column="Owner" class="Link" lazy="false" cascade="save-update" />
    <property name="Description" />
  </class>
</hibernate-mapping>